package com.dao.${packageName};

import com.entity.${packageName}.${moduleName ? cap_first};
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ${moduleName ? cap_first}Mapper {
    int deleteByPrimaryKey(Long id);

    int insert(${moduleName ? cap_first} record);

    int insertSelective(${moduleName ? cap_first} record);

    ${moduleName ? cap_first} selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(${moduleName ? cap_first} record);

    int updateByPrimaryKey(${moduleName ? cap_first} record);

    List<${moduleName ? cap_first}> getPageList(${moduleName ? cap_first} record);
}